import re
s = 'I study python 3.11 everyday'
pattern = '\d\.\d+'

match = re.match(pattern, s)
print(match)

s2='3.11 python I study'
match2 = re.match(pattern, s2)
print(match2)
print(match2.group(), match2.start(), match2.end(), match2.span(), match2.string)
print('*'*20)




